<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</h:head>
<h:body>
	<h:form>
     <p>Nastavnik: <h:commandLink action="nastavnikHome?faces-redirect=true" value="#{nastavnikLogin.currentNastavnik.username}"/></p>
	   <ul>
		  <li><h:commandLink value="Promena lozinke" action="nastavnikEditPass?faces-redirect=true" /></li>
		  <li><h:commandLink value="Promena licnih podataka" action="nastavnikEditData?faces-redirect=true" /></li>
		  <li><h:commandLink value="Azuriranje studenata" action="nastavnikStudenti?faces-redirect=true" /></li>
		  <li><h:commandLink value="Azuriranje grupa" action="nastavnikGrupe?faces-redirect=true" /></li>
		  <li><h:commandLink value="Pripadnost grupama" action="nastavnikPripadnost?faces-redirect=true" /></li>
		  <li><h:commandLink value="Prisustvo studenata" action="nastavnikPrisustvo?faces-redirect=true" /></li>
		  <li><h:commandLink value="Azuriranje obaveza" action="nastavnikObaveze?faces-redirect=true" /></li>
		  <li><h:commandLink value="Odslusan predmet" action="nastavnikOdslusani?faces-redirect=true" /></li>
	      <li><h:commandLink action="#{nastavnikLogin.logout}">Odjava</h:commandLink></li>
	   </ul>            
	</h:form>
</h:body>
</html>